<!DOCTYPE html>
<html lang="zh_CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/base.css">
    <title>首页</title>
    
    <style>
        .main{
            width: 1200px;
            height: 700px;
            margin: auto;
        }
        .banner {
            position: relative;
            margin: auto;
            width: 1200px;
            height: 290.635px;
            background-image: url(images/slider1.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center center;
        }
        .wordbox{
            position: absolute;
            top: 20%;
            left: 15%;
            font-size: 40px;
            color: white;
        }
        .tool{
            width: 1200px;
            padding: 20px 0;
            text-align: center;
        }
        .tool h2{
            margin-bottom: 40px;
            font-size: 40px;
            font-weight: bold;
        }
        .tool ul li img{
            width: 200px;
            height: 200px;
        }
        .tool ul li{
            width: 250px;
            float: left;
            margin-right: 66px;
            padding: 25px;
            list-style: none;
            box-sizing: border-box;
            
        }
        .tool ul li:hover{
            background-color: rgb(230, 225, 225);
        }
        .tool ul li:last-child{
            margin-right: 0;
        }
        .tool ul li a{
            color: black;
            text-decoration: none;
        }
        .tool ul li a img{
            margin-bottom: 20px;
        }
    </style>
</head>

<body>
    
        <div class="main">
            <div class="banner">
                <div class="wordbox">
                    <h1>我的家</h1>
                    <p>你的家庭管理顾问</p>
                </div>
            </div>
            <div class="tool">
                <h2>智能家居</h2>
                <ul>
                    <li>
                        <a href="环境监控.html">
                            <img src="images/环境监控.png" alt="">
                            <em>环境监控</em>
                        </a>
                    </li>
                    <li>
                        <a href="灯光.html">
                            <img src="images/台灯.png" alt="">
                            <em>灯光</em>
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <img src="images/小爱音箱.png" alt="">
                            <em>智能音箱</em>
                        </a>
                    </li>
                    <li>
                        <a href="实时监控系统.html">
                            <img src="images/监控.png" alt="">
                            <em>实时监控系统</em>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    
</body>

</html>